package cc.abanlee.module.system.dal.redis;

import cc.abanlee.framework.redis.core.RedisKeyDefine;
import cc.abanlee.module.system.dal.dataobject.oauth2.OAuth2AccessTokenDO;

/**
 * @author: create by
 * @version: v1.0
 * @description:
 * @date:2022/9/7
 */
public interface RedisKeyConstants {

    RedisKeyDefine OAUTH2_ACCESS_TOKEN = new RedisKeyDefine("访问令牌的缓存",
            // 参数为访问令牌 token
            "oauth2_access_token:%s",
            RedisKeyDefine.KeyTypeEnum.STRING, OAuth2AccessTokenDO.class, RedisKeyDefine.TimeoutTypeEnum.DYNAMIC);
}
